$OpenBSD: patch-src_bin_Makefile_in,v 1.3 2012/12/24 13:11:03 stsp Exp $
--- src/bin/Makefile.in.orig	Fri Dec 21 15:42:57 2012
+++ src/bin/Makefile.in	Sun Dec 23 14:05:33 2012
@@ -94,7 +94,7 @@ am__v_at_0 = @
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+	$(AM_LDFLAGS) $(LDFLAGS) -leet -lecore -o $@
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD  " $@;
@@ -374,7 +374,7 @@ efreet_desktop_cache_create$(EXEEXT): $(efreet_desktop
 	$(AM_V_CCLD)$(LINK) $(efreet_desktop_cache_create_OBJECTS) $(efreet_desktop_cache_create_LDADD) $(LIBS)
 efreet_icon_cache_create$(EXEEXT): $(efreet_icon_cache_create_OBJECTS) $(efreet_icon_cache_create_DEPENDENCIES) $(EXTRA_efreet_icon_cache_create_DEPENDENCIES) 
 	@rm -f efreet_icon_cache_create$(EXEEXT)
-	$(AM_V_CCLD)$(LINK) $(efreet_icon_cache_create_OBJECTS) $(efreet_icon_cache_create_LDADD) $(LIBS)
+	$(AM_V_CCLD)$(LINK) $(efreet_icon_cache_create_OBJECTS) $(efreet_icon_cache_create_LDADD) -L$(top_builddir)/src/lib/.libs/ -lefreet $(LIBS)
 
 mostlyclean-compile:
 	-rm -f *.$(OBJEXT)
